<html><head>
<title>mini calculator</title>

<STYLE TYPE="text/css">
<!--
BODY{
	overflow: hidden;
}

.calc_button {
	font-family: monospace
}
.button_td {
	white-space: nowrap;
	text-align: right;
}
-->
</STYLE>

</head>
<body>
<form action=null id="result">
<TABLE BORDER=0>
<TR>
<TD class=button_td>
<INPUT class=calc_button TYPE="text" id=value  NAME="value" Size="15">
<INPUT class=calc_button TYPE="button" NAME="clear" VALUE=" c " OnClick="result.value.value = ''">

<br>
</TD>
</TR>
<TR>
<TD  class=button_td>
<INPUT class=calc_button TYPE="button" NAME="one"   VALUE=" 1 " OnClick="result.value.value += '1'">
<INPUT class=calc_button TYPE="button" NAME="two"   VALUE=" 2 " OnCLick="result.value.value += '2'">
<INPUT class=calc_button TYPE="button" NAME="three" VALUE=" 3 " OnClick="result.value.value += '3'">
<INPUT class=calc_button TYPE="button" NAME="plus"  VALUE=" + " OnClick="result.value.value += ' + '">
<br>
<INPUT class=calc_button TYPE="button" NAME="four"  VALUE=" 4 " OnClick="result.value.value += '4'">
<INPUT class=calc_button TYPE="button" NAME="five"  VALUE=" 5 " OnCLick="result.value.value += '5'">
<INPUT class=calc_button TYPE="button" NAME="six"   VALUE=" 6 " OnClick="result.value.value += '6'">
<INPUT class=calc_button TYPE="button" NAME="minus" VALUE=" - " OnClick="result.value.value += ' - '">
<br>
<INPUT class=calc_button TYPE="button" NAME="seven" VALUE=" 7 " OnClick="result.value.value += '7'">
<INPUT class=calc_button TYPE="button" NAME="eight" VALUE=" 8 " OnCLick="result.value.value += '8'">
<INPUT class=calc_button TYPE="button" NAME="nine"  VALUE=" 9 " OnClick="result.value.value += '9'">
<INPUT class=calc_button TYPE="button" NAME="times" VALUE=" * " OnClick="result.value.value += ' * '">
<br>
<INPUT class=calc_button TYPE="button" NAME="Dot" VALUE=" . " OnClick="result.value.value += '.'">
<INPUT class=calc_button TYPE="button" NAME="zero"  VALUE=" 0 " OnClick="result.value.value += '0'">
<INPUT class=calc_button TYPE="button" NAME="DoIt"  VALUE=" = " OnClick="result.value.value = eval(result.value.value)">
<INPUT class=calc_button TYPE="button" NAME="div"   VALUE=" / " OnClick="result.value.value += ' / '">
<br>
</TD>
</TR>
</TABLE>
</form>

